package org.csu.jpetstore_users_backend_pj.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.csu.jpetstore_users_backend_pj.entity.Account;
import org.csu.jpetstore_users_backend_pj.vo.AccountVO;

public interface UserService extends IService<Account> {
    Account getUserByGiteeId(String giteeId);
//    void bindGiteeAccount(String username, Account giteeAccount);

    public AccountVO login(String username, String password);
    public AccountVO loginByPhone(String phone) ;
    public void register(AccountVO account, String password);
    public boolean IsUsernameExist(String username);
    public boolean IsEmailExist(String email);
    public boolean IsPhoneExist(String phone);
}
